package com.sxjh.common;

public enum HttpStatus {

  E_200(200, "成功"),

  E_500(500, "失败"),

  E_10002(10002, "令牌失效等"),

  E_10003(10003, "权限异常等");

  private Integer code;
  private String msg;

  HttpStatus(Integer code, String msg) {
    this.code = code;
    this.msg = msg;
  }
  public Integer getCode() {
    return code;
  }
  public String getMsg() {
    return msg;
  }

}
